home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 4 / FM Towns Free Software Collection 4 - Disc 1.iso / t_os / wstype / source / bufmgr.h < prev    next >
C/C++ Source or Header  |  1991-10-18  |  673b  |  37 lines

  1. /***   [bufmgr.h]
  2. *
  3. *    For GNU C Compiler (GCC)
  4. *
  5. ***/
  6.  
  7. #ifndef _SIZE_T
  8. #define _SIZE_T
  9. typedef unsigned long size_t;
  10. #endif /* _SIZE_T */
  11.  
  12. struct filestore_t {
  13.     int        line;
  14.     size_t    size;
  15.     unsigned char    *buf1;
  16.     size_t    *buf2;
  17. };
  18. struct bmgr_t {
  19.     char    tabm, crm;
  20.     struct filestore_t *fs;
  21.     int line;
  22.     int l;
  23.     int r;
  24.     int tab;
  25. };
  26. struct bmgrctype_t {
  27.     int        l;
  28.     unsigned short    lcode;
  29.     int        r;
  30.     unsigned short    rcode;
  31. };
  32.  
  33. int    BMGR_set(const char *, int, int, struct filestore_t *);
  34. int    BMGR_change(int, int, struct filestore_t *, int *);
  35. void    BMGR_String(struct bmgr_t *, unsigned char *);
  36. void    BMGR_ctype(struct bmgr_t *, struct bmgrctype_t *);
  37.